import json
import re


def eq(actual_value, expect_value):
    """
    判断实际值与预期值是否一致
    Args:
        actual_value: 实际值
        expect_value: 期望值
    """
    assert actual_value == expect_value


def contains(actual_value, expect_value):
    """
    判断期望值是否包含在实际结果里
    Args:
        actual_value: 实际值
        expect_value: 期望值
    """
    assert isinstance(actual_value, (list, tuple, dict, str, bytes))
    assert expect_value in actual_value


def re_code(actual_value, expect_value):
    """
    商户后台校验器，判断返回值里code的值是否为200
    Args:
        actual_value: 实际值
        expect_value: 期望值
    """
    pass
